package cn.stylefeng.guns.sys.modular.system.ApiEntity;

import java.math.BigDecimal;
import java.util.List;

public class MtYqResult {

    /**
     * code : 200
     * msg : 成功
     * content : {"toPayAmount":0.1,"totalDealCouponAmount":0.1,"totalRealAmount":0.1,"totalDiscountAmount":0,"tailAmount":0,"couponCodeList":[{"couponCode":"77072537235014","dealType":2,"dealCouponAmount":0.1,"realAmount":0.1,"discountAmount":0,"dealId":689352935,"dealTitle":"MayDay海鲜茄子煲1份","dealSkuMappingDetail":{"count":1,"vendorSkus":["2006141037019"]},"mappingDetailDTO":null,"dealPromotionMappingDetail":null,"giftSkuMappingDetail":null,"couponSkus":[{"vendorSkuId":"2006141037019","count":1}]}]}
     */

    private int code;
    private String msg;
    private ContentBean content;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ContentBean getContent() {
        return content;
    }

    public void setContent(ContentBean content) {
        this.content = content;
    }

    public static class ContentBean {
        /**
         * toPayAmount : 0.1
         * totalDealCouponAmount : 0.1
         * totalRealAmount : 0.1
         * totalDiscountAmount : 0
         * tailAmount : 0
         * couponCodeList : [{"couponCode":"77072537235014","dealType":2,"dealCouponAmount":0.1,"realAmount":0.1,"discountAmount":0,"dealId":689352935,"dealTitle":"MayDay海鲜茄子煲1份","dealSkuMappingDetail":{"count":1,"vendorSkus":["2006141037019"]},"mappingDetailDTO":null,"dealPromotionMappingDetail":null,"giftSkuMappingDetail":null,"couponSkus":[{"vendorSkuId":"2006141037019","count":1}]}]
         */

        private double toPayAmount;
        private double totalDealCouponAmount;
        private BigDecimal totalRealAmount;
        private int totalDiscountAmount;
        private int tailAmount;
        private List<CouponCodeListBean> couponCodeList;

        public double getToPayAmount() {
            return toPayAmount;
        }

        public void setToPayAmount(double toPayAmount) {
            this.toPayAmount = toPayAmount;
        }

        public double getTotalDealCouponAmount() {
            return totalDealCouponAmount;
        }

        public void setTotalDealCouponAmount(double totalDealCouponAmount) {
            this.totalDealCouponAmount = totalDealCouponAmount;
        }

        public BigDecimal getTotalRealAmount() {
            return totalRealAmount;
        }

        public void setTotalRealAmount(BigDecimal totalRealAmount) {
            this.totalRealAmount = totalRealAmount;
        }

        public int getTotalDiscountAmount() {
            return totalDiscountAmount;
        }

        public void setTotalDiscountAmount(int totalDiscountAmount) {
            this.totalDiscountAmount = totalDiscountAmount;
        }

        public int getTailAmount() {
            return tailAmount;
        }

        public void setTailAmount(int tailAmount) {
            this.tailAmount = tailAmount;
        }

        public List<CouponCodeListBean> getCouponCodeList() {
            return couponCodeList;
        }

        public void setCouponCodeList(List<CouponCodeListBean> couponCodeList) {
            this.couponCodeList = couponCodeList;
        }

        public static class CouponCodeListBean {
            /**
             * couponCode : 77072537235014
             * dealType : 2
             * dealCouponAmount : 0.1
             * realAmount : 0.1
             * discountAmount : 0
             * dealId : 689352935
             * dealTitle : MayDay海鲜茄子煲1份
             * dealSkuMappingDetail : {"count":1,"vendorSkus":["2006141037019"]}
             * mappingDetailDTO : null
             * dealPromotionMappingDetail : null
             * giftSkuMappingDetail : null
             * couponSkus : [{"vendorSkuId":"2006141037019","count":1}]
             */

            private String couponCode;
            private int dealType;
            private BigDecimal dealCouponAmount;
            private BigDecimal realAmount;
            private BigDecimal discountAmount;
            private int dealId;
            private String dealTitle;
            private DealSkuMappingDetailBean dealSkuMappingDetail;
            private Object mappingDetailDTO;
            private Object dealPromotionMappingDetail;
            private Object giftSkuMappingDetail;
            private List<CouponSkusBean> couponSkus;

            public String getCouponCode() {
                return couponCode;
            }

            public void setCouponCode(String couponCode) {
                this.couponCode = couponCode;
            }

            public int getDealType() {
                return dealType;
            }

            public void setDealType(int dealType) {
                this.dealType = dealType;
            }

            public BigDecimal getDealCouponAmount() {
                return dealCouponAmount;
            }

            public void setDealCouponAmount(BigDecimal dealCouponAmount) {
                this.dealCouponAmount = dealCouponAmount;
            }

            public BigDecimal getRealAmount() {
                return realAmount;
            }

            public void setRealAmount(BigDecimal realAmount) {
                this.realAmount = realAmount;
            }

            public BigDecimal getDiscountAmount() {
                return discountAmount;
            }

            public void setDiscountAmount(BigDecimal discountAmount) {
                this.discountAmount = discountAmount;
            }

            public int getDealId() {
                return dealId;
            }

            public void setDealId(int dealId) {
                this.dealId = dealId;
            }

            public String getDealTitle() {
                return dealTitle;
            }

            public void setDealTitle(String dealTitle) {
                this.dealTitle = dealTitle;
            }

            public DealSkuMappingDetailBean getDealSkuMappingDetail() {
                return dealSkuMappingDetail;
            }

            public void setDealSkuMappingDetail(DealSkuMappingDetailBean dealSkuMappingDetail) {
                this.dealSkuMappingDetail = dealSkuMappingDetail;
            }

            public Object getMappingDetailDTO() {
                return mappingDetailDTO;
            }

            public void setMappingDetailDTO(Object mappingDetailDTO) {
                this.mappingDetailDTO = mappingDetailDTO;
            }

            public Object getDealPromotionMappingDetail() {
                return dealPromotionMappingDetail;
            }

            public void setDealPromotionMappingDetail(Object dealPromotionMappingDetail) {
                this.dealPromotionMappingDetail = dealPromotionMappingDetail;
            }

            public Object getGiftSkuMappingDetail() {
                return giftSkuMappingDetail;
            }

            public void setGiftSkuMappingDetail(Object giftSkuMappingDetail) {
                this.giftSkuMappingDetail = giftSkuMappingDetail;
            }

            public List<CouponSkusBean> getCouponSkus() {
                return couponSkus;
            }

            public void setCouponSkus(List<CouponSkusBean> couponSkus) {
                this.couponSkus = couponSkus;
            }

            public static class DealSkuMappingDetailBean {
                /**
                 * count : 1
                 * vendorSkus : ["2006141037019"]
                 */

                private int count;
                private List<String> vendorSkus;

                public int getCount() {
                    return count;
                }

                public void setCount(int count) {
                    this.count = count;
                }

                public List<String> getVendorSkus() {
                    return vendorSkus;
                }

                public void setVendorSkus(List<String> vendorSkus) {
                    this.vendorSkus = vendorSkus;
                }
            }

            public static class CouponSkusBean {
                /**
                 * vendorSkuId : 2006141037019
                 * count : 1
                 */

                private String vendorSkuId;
                private int count;

                public String getVendorSkuId() {
                    return vendorSkuId;
                }

                public void setVendorSkuId(String vendorSkuId) {
                    this.vendorSkuId = vendorSkuId;
                }

                public int getCount() {
                    return count;
                }

                public void setCount(int count) {
                    this.count = count;
                }
            }
        }
    }
}
